#if !defined__OTA_HTTP_H__
#define __OTA_HTTP_H__


#define OTA_VERSION_URL "http://192.168.55.49:8000/fileinfo.json"
#define OTA_VERSION_DOWNLOAD_URL "http://192.168.55.49:8000/download/gateway"
#define OTA_VERSION_LOCAL_FILE_NAME "/home/hmysss/gateway.update" //测试使用



// 请求获取得到json数据

char *ota_http_getJSON(char *url);
// 下载文件

int ota_http_download(char *url, char *file_name);

#endif // __OTA_HTTP_H__
